import 'package:flutter_deer/generated/json/base/json_field.dart';
import 'package:flutter_deer/generated/json/version_entity.g.dart';

@JsonSerializable()
class VersionEntity {

  VersionEntity();

  factory VersionEntity.fromJson(Map<String, dynamic> json) =>
      $VersionEntityFromJson(json);

  Map<String, dynamic> toJson() => $VersionEntityToJson(this);

  @JSONField(name: 'id')
  int? id;
  @JSONField(name: 'platform')
  String? platform;
  @JSONField(name: 'versionNum')
  String? versionNum;
  @JSONField(name: 'status')
  String? status;
  @JSONField(name: 'downloadUrl')
  String? downloadUrl;
  @JSONField(name: 'contents')
  List<String>? contents;
  @JSONField(name: 'fileSize')
  int? fileSize;

}